home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / ultra62.zip / ULT.DOC < prev    next >
Text File  |  1993-12-10  |  52KB  |  1,714 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.           ▒██  ▒██ ▒██    ▒████████ ▒███████ ▒███████
  8.           ▒█║  ▒█║ ▒█║       ▒█║    ▒█║  ▒█║ ▒█║  ▒█║
  9.           ▒██  ▒██ ▒██       ▒██    ▒███████ ▒███████    TOOLBOX 6.2
  10.           ▒█║  ▒█║ ▒█║       ▒█║    ▒█║ ▒█║  ▒█║  ▒█║      (c) 1993
  11.           ▒███████ ▒███████  ▒██    ▒██ ▒███ ▒██  ▒██
  12.  
  13.  
  14.               Over 250 Functions to assist you in
  15.                batch files, or just everyday use
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.    ULT or ULT /?  FOR HELP SCREEN
  33.  
  34.         If you need a help screen, type ULT or ULT /? and the following
  35.         help screen appears:
  36.  
  37.  
  38.  
  39.  
  40.  
  41.           ▒██  ▒██ ▒██    ▒████████ ▒███████ ▒███████
  42.           ▒█║  ▒█║ ▒█║       ▒█║    ▒█║  ▒█║ ▒█║  ▒█║
  43.           ▒██  ▒██ ▒██       ▒██    ▒███████ ▒███████    TOOLBOX 6.2
  44.           ▒█║  ▒█║ ▒█║       ▒█║    ▒█║ ▒█║  ▒█║  ▒█║      (c) 1993
  45.           ▒███████ ▒███████  ▒██    ▒██ ▒███ ▒██  ▒██
  46.  
  47.  
  48.   /25 Set 25 Line EGA     /CLEANUP Cleanup appl       /ENVU Used environment
  49.   /43 Set 43 Line EGA     /CODE Show scan code        /ERRLOCK Fake disk error
  50.   /AMPM Is it AM or PM?   /COLD Cold Boot System      /EXISTD Dir exist?
  51.   /ANS Is Ansi loaded?    /COMP Compress File         /EXISTF File exist?
  52.   /APPEND Is APPEND?      /CURS+ Turn cursor on       /FILDAY File's day
  53.   /ARCH Attribute Arch    /CURS- Turn cursor off      /FILL Screen w/ char/clr
  54.   /ASSIGN Is ASSIGN?      /DAYSTAT Stats on a day     /FILMON File's month
  55.   /BIOS Bios version      /DESQ Desqview installed?   /FILYER File's year
  56.   /BLOCK Block cursor     /DIAL Autodialer            /FKEY Funct key assign
  57.   /BORDER Change border   /DOSVER Major DOS version   /FLOP Number floppies
  58.   /BOX Write box          /DRIVE Get current drive    /FREE Space on drive
  59.   /BREAK Is BREAK on?     /EMS Ems driver exist?      /GAME Port available?
  60.   /C+ Capslock on         /ENVF Free environment      /GETKEY Get a key
  61.   /C- Capslock off        /ENVG Environment graph     /GETMODE What video mode?
  62.   /CHKSUM Checksum file   /ENVT Total env. space
  63.  
  64.  /HEX Convert to binary      /N+ Numlock on               /PUTS Write to screen
  65.  /HIDDEN Change attr Hidden  /N- Numlock off              /RDONLY Attr Rd Only
  66.  /INWIN Windows installed?   /NOBUF Clear key buffer      /REN Rename dir
  67.  /KB Keyboard data           /NOWDAY Current day          /REST Restore screen
  68.                              /NOWHOUR Current hour        /S0 Star Wars sound
  69.  /KIL Totally Del File       /NOWMON Current month        /S1 Arcade sound
  70.  /LEVEL Set errorlevel       /NOWYER Current year         /S2 DeadBird sound
  71.  /LOCK Lock up computer      /NUMBAS Convert #s           /S3 Echo sound
  72.  /LOOP Repeat program        /OFFMOUSE Disable mouse      /S4 Fire sound
  73.  /MAP Map disk               /PAGE Set video page         /S5 High pitch sound
  74.  /MATH Math Coprocessor?     /PATH Locate file on path    /S6 Siren effect
  75.  /MAX Max keyboard rate      /PRINT PRINT.COM installed?  /S7 Bomb sound
  76.  /MONTH Show calendar        /PRNF Form feed to PRN       /S8 Phone ring
  77.  /MOUSE Ms. drvr installed?  /PRNL Line feed to PRN       /S9 Pulse sound
  78.  /MULT Run many commands     /PRSCR Print screen          /SAVE Save screen
  79.  
  80.      /SCRD Scroll screen down                /TIME Interval timer
  81.      /SCRU Scroll screen up                  /TODAY Show today's files
  82.      /SEARCH Srch for text                   /UNCOMP Uncompress File
  83.      /SETD Set file date                     /VEREMS EMS version?
  84.      /SHAKE Shake screen                     /VERIFY Is VERIFY used?
  85.      /SHARE Is SHARE used?                   /VIEW Read text file
  86.      /SOUND Make noise with delay and tones  /VOL Create volume name
  87.      /SSCUR Cur scan lines
  88.      /STOP Delay                             /WARM Warm Boot System
  89.      /SYS Change atr System                  /WEEKDAY Day of the week?
  90.      /TD Show date/time                      /WND Wind Chill
  91.  
  92.               Registration for ULTRA ToolBox is $15.00, or get
  93.           the entire set of Dave Utils for only twenty dollars.
  94.              That's over 3 megabytes of VGA graphic effects,
  95.            file finding, PATH control, sound fx, martial arts,
  96.                batch file enhancements, plus dozens more!
  97.  
  98.                        To order, send $20.00 to:
  99.                              David Smith
  100.                             1104 Mason Dr
  101.                            Hurst TX 76053
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.         The ULTRA ToolBox has an easy command line usage.  The initial
  113.         option is one of the many contained below.
  114.         For example,  ULT /TD
  115.  
  116.         The remainder of the options depend on the initial one.  The
  117.         option /TD needs no other information, however, the option
  118.         /COMPRESS requires a filename after it.  See the option
  119.         information below for individual details.
  120.  
  121.  
  122.         Usage:
  123.  
  124.                 ULT     [option] [option] [option] ...
  125.  
  126.  
  127.         I have completely re-written this .DOC file and optimized ULT.EXE
  128.         for speed.  It has grown so much that I had to split it into two
  129.         separate files:
  130.                           ULT.EXE       main batch utils
  131.                           ULTENV.EXE    environment utils
  132.  
  133.         ULT.EXE consists of 112 functions that detect hardware, create
  134.         graphics, boxes, plus hundreds more.  When it detects something,
  135.         it sets the DOS errorlevel upon exit.
  136.         ULTENV.EXE has 138 functions that get a filespec, pick a file
  137.         from a menu, etc.  Many of these functions set the ULT environmental
  138.         variable upon exit.  That means that when you use ULTENV, you mostly
  139.         affect the environmental ULT rather than the errorlevel.
  140.  
  141.  
  142.         NOTE: This version 6.2 fixes several problems with the switches,
  143.               plus updates ULTVU to work in a variety of unexpected
  144.               conditions.  No features have been added, only fixes.
  145.  
  146.  
  147.  
  148.         The options are now alphabetized:
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158. ======= Options: ===========================================================
  159.  
  160.  
  161.  
  162. /43        SET LINES TO 43 EGA MODE
  163.  
  164.         Sets the current screen to 43 line EGA mode.
  165.         NOTE:  You must have EGA or above to enable this.
  166.         To return the screen to normal, use /25
  167.  
  168.         EX:     ULT /43
  169.  
  170.  
  171. /25        SET LINES TO 25 TEXT MODE
  172.  
  173.         Sets the current screen to 25 line EGA mode.
  174.         NOTE:  You must have EGA or above to enable this.
  175.         To return the screen to high intensity, use /43
  176.  
  177.         EX:     ULT /25
  178.  
  179.  
  180.  
  181. /AMPM      IS IT BEFORE OR AFTER NOON?
  182.  
  183.         Returns 1 or 2, dependent upon if the current time is before
  184.         or after twelve noon.
  185.  
  186.         RETURNS:    1   Current time is before twelve noon
  187.                     2   Current time is after twelve noon
  188.  
  189.         EX:     ULT /AMPM
  190.  
  191.  
  192.  
  193. /ANS       IS ANSI.SYS CURRENTLY LOADED?
  194.  
  195.         Shows if ANSI.SYS is currently loaded in memory.
  196.  
  197.         RETURNS:        1       Ansi.sys loaded
  198.                         0       no ansi driver found
  199.  
  200.         EX:     ULT /ANS
  201.  
  202.  
  203.  
  204. /APPEND    IS APPEND CURRENTLY LOADED?
  205.  
  206.         Shows if APPEND is currently loaded in memory.
  207.  
  208.         RETURNS:        1       Append.com loaded
  209.                         0       no Append.com driver found
  210.  
  211.         EX:     ULT /APPEND
  212.  
  213.  
  214.  
  215. /ARCH      TURN ON ARCHIVE ATTRIBUTE
  216.  
  217.         Turns on the archive attribute of a file.  If you are unsure of
  218.         attribute meanings, consult your DOS manual.
  219.  
  220.         EX:     ULT /ARCH file
  221.                 ULT /ARCH list.com
  222.  
  223.  
  224.  
  225. /ASSIGN    IS ASSIGN CURRENTLY LOADED?
  226.  
  227.         Shows if ASSIGN is currently loaded in memory.
  228.  
  229.         RETURNS:        1       Assign.com loaded
  230.                         0       no Assign.com driver found
  231.  
  232.         EX:     ULT /ASSIGN
  233.  
  234.  
  235.  
  236. /BIOS      SHOWS VERSION OF ROM BIOS
  237.  
  238.         Displays version of ROM BIOS.
  239.  
  240.         EX:     ULT /BIOS
  241.  
  242.  
  243.  
  244. /BLOCK     MAKE A BLOCK CURSOR
  245.  
  246.         Makes the cursor a block cursor.  This is great for laptop users
  247.         who cannot see their cursor, or anyone else who wants a block
  248.         cursor instead of the normal one.  You can set the cursor back
  249.         to normal using the /SSCUR, or /CURS+ options.
  250.  
  251.         EX:     ULT /BLOCK
  252.  
  253.  
  254.  
  255. /BORDER      CHANGE THE BORDER COLOR
  256.  
  257.         This changes the color of your screen's border.
  258.  
  259.         USAGE:   ULT /BORDER color
  260.  
  261.         whereas color =    0       BLACK
  262.                            1       BLUE
  263.                            2       GREEN
  264.                            3       CYAN
  265.                            4       RED
  266.                            5       MAGENTA
  267.                            6       BROWN
  268.                            7       LTGRAY
  269.                            8       DKGRAY
  270.                            9       LTBLUE
  271.                            10      LTGREEN
  272.                            11      LTCYAN
  273.                            12      LTRED
  274.                            13      LTMAGENTA
  275.                            14      YELLOW
  276.                            15      WHITE
  277.  
  278.         EX:     ULT /BORDER 5
  279.                 ULT /BORDER 12
  280.  
  281.  
  282.  
  283. /BOX       PUT A BOX ON THE SCREEN
  284.  
  285.         Places a box on screen using the following arguments:
  286.  
  287.         1) starting column
  288.         2) starting row
  289.         3) ending column
  290.         4) ending row
  291.         5) border attribute
  292.         6) box attribute
  293.         7) Title (optional)
  294.  
  295.         EX:     ULT /BOX 10 10 20 20 15 05 " My main menu "
  296.  
  297.         Places a small, black box with shading and a white border
  298.         on the screen.  This combined with /PUTS can create boxed
  299.         and bordered text in batch files.
  300.         To determine the colors of /BOX and /PUTS, see the section
  301.         called HOW TO MAKE CUTE LITTLE BOXES! below.
  302.  
  303.  
  304.  
  305. /BREAK     IS BREAK CHECKING CURRENTLY ON?
  306.  
  307.         Shows if BREAK checking is currently on.  This is usually altered
  308.         by typing "BREAK ON" or "BREAK OFF" on the command line.
  309.  
  310.         RETURNS:        1       Break checking on
  311.                         0       Break checking off
  312.  
  313.         EX:     ULT /BREAK
  314.  
  315.  
  316.  
  317. /C+        TURN ON CAPSLOCK
  318.  
  319.         Turns on Capslock.  This is equivalent to pressing the CAPSLOCK
  320.         key on the keyboard.
  321.  
  322.         EX:     ULT /C+
  323.  
  324.  
  325.  
  326. /C-        TURN OFF CAPSLOCK
  327.  
  328.         Turns off Capslock.  This is equivalent to pressing the CAPSLOCK
  329.         key on the keyboard.
  330.  
  331.         EX:     ULT /C-
  332.  
  333.  
  334.  
  335. /CHKSUM    SHOW CHECKSUM OF A FILE
  336.  
  337.         A CheckSum is merely all of the bytes in a file added together.
  338.         It is useful to determine if a file is an EXACT REPLICA of another
  339.         file, or to virus check a program.
  340.         If a file has been altered in ANY WAY, the checksum will be
  341.         different.
  342.  
  343.         EX:     ULT /CHKSUM list.com
  344.                 ULT /CHKSUM q.exe
  345.  
  346.  
  347.  
  348. /CLEANUP   CLEAN UP APPLICATION
  349.  
  350.         ULT normally leaves many things undone when it closes.  A window
  351.         may remain open (consuming memory), text colors may change, the
  352.         border may be a different color, or the cursor may be invisible.
  353.         /CLEANUP fixes these things by:
  354.  
  355.                 a) Closing all open files
  356.                 b) Closing all windows
  357.                 c) Clearing the screen
  358.                 d) Setting border to black
  359.                 e) Setting the video PAGE to zero
  360.                 f) Returning to 25 line text mode
  361.                 g) Setting cursor to underscore
  362.  
  363.  
  364.  
  365. /CODE      SHOW KEYBOARD CODES
  366.  
  367.         This displays the keycode, scancode, and ASCII codes for
  368.         any key pressed.  The prompt: 'PRESS ANY KEY:' is shown,
  369.         then once one is pressed, the information is given.
  370.  
  371.         ULT /CODE presents:  "Press Any Key:"
  372.                   and pressing "g" gives:
  373.  
  374.         keycode=0x2267  scancode=34     ASCII code=103
  375.  
  376.  
  377.  
  378. /COLD      COLD BOOT SYSTEM
  379.  
  380.         This reboots and resets the computer (a memory check is done
  381.         also).
  382.  
  383.         EX:     ULT /COLD
  384.  
  385.  
  386.  
  387. /COMP      COMPRESS
  388.  
  389.         Compress a file using LZW method.  This replaces the file
  390.         with the newly compressed file, without renaming it.
  391.         This is useful for modem communications where you want to
  392.         transmit a secret file, or you want to compress a file
  393.         and NOT use the popular compression programs.  It will
  394.         be impossible to read a text file that has been compressed
  395.         using this, or uncompress it unless you have this util.
  396.  
  397.         EX:     ULT /COMP myfile
  398.                 ULT /COMP secret.txt
  399.  
  400.  
  401.  
  402. /CURS+     TURN ON CURSOR
  403.  
  404.         Restores cursor to its original state.  This is useful if a program
  405.         has turned off your cursor, or you have temporarily used
  406.         ULT /CURS- to manually turn off the cursor.
  407.  
  408.         EX:     ULT /CURS+
  409.  
  410.  
  411.  
  412. /CURS-     TURN OFF CURSOR
  413.  
  414.         Turns off the cursor.  It can be easily restored using the
  415.         ULT /CURS+ option.
  416.  
  417.         EX:     ULT /CURS-
  418.  
  419.  
  420.  
  421. /DAYSTAT   STATISTICS ON ANY GIVEN DAY
  422.  
  423.         This tells what day a given date falls on and which week in the
  424.         year it is.
  425.  
  426.         EX:     ULT /DAYSTAT 4 18 1993    (tells stats on April 18, 1993)
  427.                 ULT /DATSTAT 9 14 1922    (tells stats on September 14, 1922)
  428.  
  429.  
  430.  
  431. /DESQ      IS DESQVIEW INSTALLED?
  432.  
  433.         Returns the results of a DESQVIEW test.
  434.  
  435.         RETURNS:    0   Desqview is NOT installed
  436.                     1   Desqview is installed
  437.  
  438.         EX:     ULT /DESQ
  439.  
  440.  
  441.  
  442. /DIAL      DIAL THE PHONE
  443.  
  444.         This is absolutely the greatest thing you will ever see!
  445.  
  446.         I use this constantly, everyday to dial friends up.  My modem
  447.         is hooked into the phone line, and I must manually reach for
  448.         the phone everytime I want to talk with someone.
  449.  
  450.         This solves this by dialing a phone number, then prompting you
  451.         to press a key to release the computer from the phone.  That way,
  452.         you can just press the space bar when someone answers.
  453.  
  454.         It is best to create a batch file with different people's phone
  455.         numbers in it.  IE:  FRED.BAT would include the following command:
  456.  
  457.         ULT /DIAL 1 555-4353   (this dials the number 555-4353 on COM 1)
  458.  
  459.         From any place on my computer, I can just type: FRED to dial up
  460.         my friend Fred, then press a key when he answers, and pick up the
  461.         phone to talk with him.
  462.  
  463.         As a default, /DIAL uses tone dialing, however, if you have a pulse
  464.         phone, include /P after the phone number.
  465.  
  466.         EX:     ULT /DIAL 1 555-1836 /P    (dials 555-1836 on COM 1, using pulse)
  467.                 ULT /DIAL 3 555-9023       (dials 555-9023 on COM 3, using tone)
  468.  
  469.  
  470.  
  471. /DOSVER    WHICH DOS VERSION?
  472.  
  473.         Returns the major DOS version number.
  474.  
  475.         RETURNS:    Major DOS version number (3, 4, 5, etc...)
  476.  
  477.         EX:     ULT /DOSVER
  478.  
  479.  
  480.  
  481. /DRIVE     NUMBER OF CURRENT DRIVE?
  482.  
  483.         Returns the number of the current drive
  484.                 IE: A: is 1
  485.                     B: is 2
  486.                     C: is 3
  487.                     etc...
  488.  
  489.         RETURNS:    Number of the current drive found
  490.  
  491.         EX:     ULT /DRIVE
  492.  
  493.  
  494.  
  495. /EMS       IS EMS DRIVER PRESENT?
  496.  
  497.         Determines if an EMS driver is present.
  498.  
  499.         RETURNS:    0   EMS driver exists
  500.                     1   none found
  501.  
  502.         EX:     ULT /EMS
  503.  
  504.  
  505.  
  506. /ENVF      SHOW FREE ENVIRONMENT
  507.  
  508.         Shows free environment space.
  509.  
  510.         EX:     ULT /ENVF
  511.  
  512.  
  513.  
  514. /ENVG      ENVIRONMENT GRAPH
  515.  
  516.         Show a graph of current environment.  This shows active environment
  517.         beginnings, and used/total/free bytes.
  518.  
  519.         EX:     ULT /ENG
  520.  
  521.  
  522.  
  523. /ENVT      SHOW TOTAL ENVIRONMENT
  524.  
  525.         Shows total environment space.
  526.  
  527.         EX:     ULT /ENVT
  528.  
  529.  
  530.  
  531. /ENVU      SHOW USED ENVIRONMENT
  532.  
  533.         Shows used environment space.
  534.  
  535.         EX:     ULT /ENVU
  536.  
  537.  
  538.  
  539. /ERRLOCK   SIMULATE A HARD DISK ERROR
  540.  
  541.         Prints "Hard disk error" on the screen, beeps, then locks
  542.         the computer.   Requires a warm or cold boot.
  543.  
  544.         RETURNS:    nothing
  545.  
  546.  
  547.         EX:     ULT /ERRLOCK
  548.  
  549.  
  550.  
  551. /EXISTD    DOES DIRECTORY EXIST?
  552.  
  553.         This determines if a directory exists on the current or
  554.         any other drive.
  555.  
  556.         RETURNS:        0       Directory exists
  557.                         1       No such directory found
  558.  
  559.         EX:     ULT /EXISTD \utils
  560.                 ULT /EXISTD c:\wp51\data
  561.  
  562.  
  563.  
  564. /EXISTF    DOES A FILE EXIST?
  565.  
  566.         This determines if a file exists.  Wildcards are NOT accepted.
  567.         NOTE: If you only want to know if a file can be started, use
  568.               /PATH instead.  This will tell you if a file is on the path,
  569.               and can be started from the command line without changing
  570.               directories.
  571.  
  572.         RETURNS:    0   File exists
  573.                     1   No such file found
  574.  
  575.         EX:     ULT /EXISTF list.com
  576.                 ULT /EXISTF \wp51\wp.exe
  577.  
  578.  
  579.  
  580. /FILDAY    DAY OF FILE?
  581.  
  582.         Returns the day of a file.  Extracts the file's date, then
  583.         sets the errorlevel to the file's day.
  584.  
  585.         RETURNS:    Day of the file's month (1 - 31)
  586.  
  587.  
  588.         EX:     ULT /FILDAY myfile.txt
  589.                 ULT /FILDAY list.com
  590.  
  591.  
  592.  
  593. /FILL      FILL THE SCREEN WITH CHAR/COLOR
  594.  
  595.         This fills the screen with any character you choose, and any
  596.         color.
  597.  
  598.         USAGE:  ULT /FILL character color
  599.  
  600.         Character can be any of the 255 ASCII chars, and color can be
  601.         any valid color.
  602.  
  603.         EX:     ULT /FILL 49 80     (fills screen with colored ones)
  604.                 ULT /FILL 30 44     (fills screen with green/red triangles)
  605.  
  606.  
  607.  
  608. /FILMON    MONTH OF A FILE?
  609.  
  610.         Returns the month of a file.  Extracts the file's date, then
  611.         sets the errorlevel to the file's month.
  612.  
  613.         RETURNS:    Month of the file (1 - 12)
  614.  
  615.  
  616.         EX:     ULT /FILMON myfile.txt
  617.                 ULT /FILMON list.com
  618.  
  619.  
  620.  
  621.  
  622. /FILYER    YEAR OF A FILE?
  623.  
  624.         Returns the year of a file.  Extracts the file's date, then
  625.         sets the errorlevel to the file's year.
  626.  
  627.         RETURNS:    Year of the file (last two digits)
  628.  
  629.  
  630.         EX:     ULT /FILYER myfile.txt
  631.                 ULT /FILYER list.com
  632.  
  633.  
  634.  
  635. /FKEY      ASSIGN COMMANDS TO FUNCTION KEYS
  636.  
  637.         On the command line, you usually have no use of your function keys.
  638.         This is a shame, considering pressing F5 could give me a DIR /W,
  639.         or pressing F8 could activate LIST.COM.
  640.         This would greatly save typing!
  641.  
  642.         To assign a function key, use the following format:
  643.  
  644.         ULT /FKEY keynumber command
  645.  
  646.         Again, please remember if your command includes spaces, enclose
  647.         the command in quotes.
  648.  
  649.         EX:     ULT /FKEY 3 "DIR /W"    (makes a dir /w when the F3 key is pressed)
  650.                 ULT /FKEY 8 LIST.COM    (activates LIST.COM when the F8 key is pressed)
  651.  
  652.  
  653.  
  654. /FLOP      NUMBER OF FLOPPY DRIVES?
  655.  
  656.         Returns the number of floppy drives installed.
  657.  
  658.         RETURNS:    Number of floppy drives intalled
  659.                     0   If no floppy drives are present
  660.  
  661.         EX:     ULT /FLOP
  662.  
  663.  
  664.  
  665. /FREE      SHOW FREE SPACE ON CURRENT DRIVE
  666.  
  667.         Shows free space on current drive, as well as bytes per cluster
  668.         and sectors per cluster.
  669.  
  670.         EX:     ULT /FREE
  671.  
  672.  
  673.  
  674. /GAME      IS A GAME PORT INSTALLED?
  675.  
  676.         Determines if a game port is installed.  If you want to check
  677.         for a joystick in a batch file, this is the way to go!
  678.  
  679.         RETURNS:        0       Game port installed
  680.                         1       none found
  681.  
  682.         EX:     ULT /GAME
  683.  
  684.  
  685.  
  686. /GETKEY    GET A KEY FROM THE KEYBOARD
  687.  
  688.         This allows the user to press a key, then sets the DOS
  689.         errorlevel to the scancode of the key pressed.
  690.  
  691. ======================= Function Keys =====================
  692.  
  693. F1    -    F10    unshifted    59    -    68
  694. F1    -    F10    shifted        84    -    93
  695. F1    -    F10    control        94    -    103
  696. F1    -    F10    Alternate    104    -    113
  697.  
  698. ======================= Keypad Keys ========================
  699.  
  700.                         Unshifted               Control
  701.  
  702. Home    -        71            119
  703. Up    -        72            
  704. PgUp    -        73            132
  705. Left    -        75            115
  706. Right    -        77            116
  707. End    -        79            117
  708. Down    -        80
  709. PgDn    -        81            118
  710. Ins    -        82
  711. Del    -        83
  712.  
  713. ======================= Alternate + Regular Keys ============
  714.  
  715. QWERTYUIOP            16    -    25
  716. ASDFGHJKL            30    -    38
  717. ZXCVBNM                44    -    50
  718. 1234567890-=            120    -    131
  719.  
  720.         EX:     ULT /GETKEY
  721.  
  722.  
  723.  
  724. /GETMODE   GET CURRENT VIDEO MODE
  725.  
  726.         Gets the video mode using an ASM call 10h, function 00h, then
  727.         set the DOS errorlevel accordingly.
  728.  
  729.         Mode #    Type        Resolution    Colors     Video Subsystem
  730.         0, 1      Text        40 x 25         16       CGA, EGA, MCGA, VGA
  731.         2, 3      Text        80 x 25         16       CGA, EGA, MCGA, VGA
  732.         4, 5      Graphics    320 x 200       4        CGA, EGA, MCGA, VGA
  733.         6         Graphics    640 x 200       2        CGA, EGA, MCGA, VGA
  734.         7         Text        80 x 25         Mono     CGA, EGA, MCGA, VGA
  735.         8, 9, 10                                       PCjr only
  736.         11, 12                                         Used internally
  737.         13        Graphics    320 x 200       16       EGA, VGA
  738.         14        Graphics    640 x 200       16       EGA, VGA
  739.         15        Graphics    640 x 350       Mono     EGA, VGA
  740.         16        Graphics    640 x 350       16       EGA, VGA
  741.         17        Graphics    640 x 480       2        MCGA, VGA
  742.         18        Graphics    640 x 480       16       VGA
  743.         19        Graphics    320 x 200       25       MCGA, VGA
  744.  
  745.         EX:     ULT /GETMODE
  746.  
  747.  
  748.  
  749. /HEX       BINARY CONVERSION
  750.  
  751.         Shows the binary equivalent to any number entered.
  752.         You are prompted to enter a decimal number, which
  753.         is then converted and displayed.
  754.         To stop this sequence, press CTRL-BREAK.
  755.  
  756.         EX:     ULT /HEX
  757.  
  758.  
  759.  
  760. /HIDDEN    CHANGE THE HIDDEN ATTRIBUTE
  761.  
  762.         Turns on the hidden attribute of a file.  If you are unsure of
  763.         attribute meanings, consult your DOS manual.
  764.  
  765.         EX:     ULT /HIDDEN file
  766.                 ULT /HIDDEN list.com
  767.  
  768.  
  769.  
  770. /INWIN     CHECKS IF WINDOWS IS RUNNING
  771.  
  772.         This peeks at the current memory to see if Microsoft Windows(tm)
  773.         is currently running, then sets the errorlevel accordingly.
  774.  
  775.         RETURNS:        1       if Windows is running
  776.                         0       nothing found
  777.  
  778.         EX:     ULT /INWIN
  779.  
  780.  
  781.  
  782. /KB        KEYBOARD STATUS
  783.  
  784.         This shows the status of the keyboard by displaying either
  785.         1 or 0, depending on if the keys are currently in use.
  786.  
  787.         The keys are:
  788.  
  789.         RIGHT SHIFT DOWN
  790.         LEFT SHIFT DOWN
  791.         CONTROL KEY DOWN
  792.         ALT KEY DOWN
  793.         SCROLL LOCK ON
  794.         NUM LOCK ON
  795.         CAPS LOCK ON
  796.         INSERT ON
  797.         FILLER
  798.         CONTROL NUMLOCK
  799.         SCROLL LOCK DOWN
  800.         NUM LOCK DOWN
  801.         CAPS LOCK DOWN
  802.         INSERT DOWN
  803.  
  804.         EX:     ULT /KB
  805.  
  806.  
  807.  
  808. /KIL       TOTALLY ERASE A FILE
  809.  
  810.         This totally erases a file, making it unable to be recovered.
  811.         Even the popular recovery programs (Norton, PCTools, etc)
  812.         cannot recover it.
  813.  
  814.                 ** PLEASE BE CAREFUL **
  815.  
  816.         It erases a file by doing the following:
  817.                 1. Setting the time, date, year to 0
  818.                 2. Change it to hidden/system
  819.                 3. Deleting it
  820.  
  821.         EX:     ULT /KIL myfile
  822.                 ULT /KIL list.com
  823.  
  824.  
  825.  
  826. /LEVEL     SET ERRORLEVEL
  827.  
  828.         This sets the DOS errorlevel.   Many times in batch files, it
  829.         is necessary to change the errorlevel.  This allows you to do
  830.         it effortlessly.
  831.  
  832.         EX:     ULT /LEVEL  4      (sets errorlevel to 4)
  833.                 ULT /LEVEL  0      (sets errorlevel to 0)
  834.  
  835.  
  836.  
  837. /LOCK      LOCKS THE COMPUTER
  838.  
  839.         Locks up the computer.  Requires a warm or cold boot.
  840.  
  841.         RETURNS:    nothing
  842.  
  843.  
  844.         EX:     ULT /LOCK
  845.  
  846.  
  847.  
  848. /LOOP      LOOPS A PROGRAM SEVERAL TIMES
  849.  
  850.         Many times, you may want to loop through a particular program
  851.         more than once.  /LOOP allows you to repeat a program up to
  852.         65,000 times.  If the program needs an argument, then include
  853.         the entire command line usage in quotation marks.  For instance,
  854.         if you want to DIR /W instead of DIR, then use: ULT /LOOP "dir /w"
  855.  
  856.         EX:     ULT /LOOP dir 4     (shows a directory 4 times)
  857.                 ULT /LOOP cd.. 3    (changes three directories up)
  858.  
  859.  
  860. /MAP       MAKE A MAP OF DRIVE
  861.  
  862.         This maps out the current drive, showing a variety of file and
  863.         directory information.  This would be useful to quickly find a
  864.         file using a text editor, or making a quicky-backup of filenames
  865.         for a particular directory.
  866.                 You can also quickly find duplicate files by loading
  867.         the MAPPED file into a text editor, and searching for particular
  868.         names.  It is best to use the piping symbol ">" to store the
  869.         information in a file, rather than watching it scroll across
  870.         the screen.
  871.  
  872.         EX:     ULT /MAP > mapfile   (maps out the current drive, and stores
  873.                                       it in mapfile)
  874.  
  875.  
  876. /MATH      IS A MATH COPROCESSOR INSTALLED?
  877.  
  878.         Determines if a math coprocessor is installed in the machine.
  879.  
  880.         RETURNS:        0       Math coprocessor found
  881.                         1       none
  882.  
  883.         EX:     ULT /MATH
  884.  
  885.  
  886.  
  887. /MAX       SET KEYBOARD REPEAT RATE
  888.  
  889.         Sets your keyboard repeat rate to the maximum allowable.  It will
  890.         GREATLY increase the speed of your keyboard when scrolling through
  891.         a menu or typing.
  892.  
  893.         EX:     ULT /MAX
  894.  
  895.  
  896.  
  897. /MONTH     SHOW A CALENDAR
  898.  
  899.         This shows a quick calendar of any given month and year.
  900.  
  901.         EX:     ULT /MONTH 4 1993    (shows calendar of April, 1993)
  902.                 ULT /MONTH 9 1973    (shows calendar of September, 1973)
  903.  
  904.  
  905.  
  906. /MOUSE     DETERMINES IF MOUSE IS PRESENT
  907.  
  908.         This does a quick check to see if a mouse driver is installed.
  909.  
  910.         RETURNS:    0   Mouse is present
  911.                     1   NO mouse driver found
  912.  
  913.         EX:     ULT /MOUSE
  914.  
  915.  
  916.  
  917. /MULT      MULTIPLE DOS COMMANDS
  918.  
  919.         This allows multiple commands on the command line.  It is very
  920.         similar to a batch file, only it allows it all on one line.
  921.         If your command has any spaces in it, ie: DIR /W, then please
  922.         surround it with quotes.
  923.                 IE: DIR /W  would become  "DIR /W"
  924.  
  925.         EX:     ULT /MULT  CLS  "DIR /W"  "DIR /P"  PAUSE  LIST.COM
  926.  
  927.         would clear the screen, show a wide directory, show a directory
  928.         with page breaks, pause, then activate LIST.COM.
  929.  
  930.  
  931.  
  932. /N+        TURN ON NUMLOCK
  933.  
  934.         Turns on Numlock.  This is equivalent to pressing the NUMLOCK
  935.         key on the keyboard.
  936.  
  937.         EX:     ULT /N+
  938.  
  939.  
  940.  
  941. /N-        TURN OFF NUMLOCK
  942.  
  943.         Turns off Numlock.  This is equivalent to pressing the
  944.         NUMLOCK key on the keyboard.
  945.  
  946.         EX:     ULT /N-
  947.  
  948.  
  949.  
  950. /NOBUF     CLEAR KEYBOARD BUFFER
  951.  
  952.         Clear the keyboard buffer.
  953.  
  954.         EX:     ULT /NOBUF
  955.  
  956.  
  957.  
  958. /NOWDAY    CURRENT DAY?
  959.  
  960.         Returns the current day.  Gets the system date, and sets
  961.         the errorlevel to the current day.
  962.  
  963.         RETURNS:    Current day of the month (1 - 31)
  964.  
  965.  
  966.         EX:     ULT /NOWDAY
  967.  
  968.  
  969.  
  970. /NOWHOUR   WHAT IS CURRENT HOUR?
  971.  
  972.         Returns the current hour in military time.
  973.  
  974.         RETURNS:    Current hour (0 - 24)
  975.  
  976.         EX:     ULT /NOWHOUR
  977.  
  978.  
  979.  
  980. /NOWMON    CURRENT MONTH?
  981.  
  982.         Returns the current month.  Gets the system date, and sets
  983.         the errorlevel to the current month.
  984.  
  985.         RETURNS:    Current month (1 - 12)
  986.  
  987.         EX:     ULT /NOWMON
  988.  
  989.  
  990.  
  991. /NOWYER    CURRENT YEAR?
  992.  
  993.         Returns the current year.  Gets the system date, and sets
  994.         the errorlevel to the current year.
  995.  
  996.         RETURNS:    Current year (last two digits)
  997.  
  998.         EX:     ULT /NOWYER
  999.  
  1000.  
  1001.  
  1002. /NUMBAS    CONVERT DECIMAL TO BASE 2 - 16
  1003.  
  1004.         This converts a decimal number to any number based 2 - 16.
  1005.  
  1006.         To convert the number 43 to binary, just use:  ULT /NUMBAS
  1007.         Then when prompted for number and base, type:  43 2
  1008.  
  1009.         EX:     ULT /NUMBAS
  1010.  
  1011.         You are then prompted for a number, and the base you
  1012.         want it converted to.
  1013.         IE: 15  2     would convert the number 15 to binary (base of 2)
  1014.             321 8     would convert the number 321 to a base of 8)
  1015.             725 10    would convert the number 725 to a base of 10
  1016.                       (which would not change it, since the numbers
  1017.                        we use are already based at 10)
  1018.  
  1019.  
  1020.  
  1021. /OFFMOUSE  TURNS OFF THE MOUSE AND DISABLES MOUSE DRIVER
  1022.  
  1023.         This simply turns off the mouse cursor, and disables the
  1024.         mouse driver.
  1025.  
  1026.         EX:     ULT /OFFMOUSE
  1027.  
  1028.  
  1029.  
  1030. /PAGE      CHANGE VIDEO PAGE
  1031.  
  1032.         This changes the video page of the screen.  DOS normally operates
  1033.         on video page 0.
  1034.         NOTE: This effectively clears the screen, and saves the original
  1035.         one.  Changing to PAGE 1 will bring a blank screen to view,
  1036.         then changing back to PAGE 0 restores the original screen.
  1037.  
  1038.         EX:     ULT /PAGE 0
  1039.                 ULT /PAGE 3
  1040.  
  1041.  
  1042. /PATH      SEARCH THE PATH?
  1043.  
  1044.         Determines if a program is on the Path.  DOS normally searches
  1045.         the "PATH" for a file.  This determines if a specified file is
  1046.         in one of the path directories.
  1047.         This can be used in batch files to determine if a program
  1048.         is available to be run.  IE: If your batch file needs LIST.COM
  1049.         to view a file, you can run this to find out if LIST.COM
  1050.         exists on the user's path.
  1051.  
  1052.         RETURNS:    0    if file is on the path
  1053.                     1    no file found
  1054.  
  1055.         EX:     ULT /PATH list.com
  1056.                 ULT /PATH q.exe
  1057.  
  1058.  
  1059.  
  1060. /PRINT     IS PRINT.COM INSTALLED?
  1061.  
  1062.         Returns the results of a PRINT.COM test.  PRINT.COM comes with
  1063.         DOS versions.  Please consult your DOS manual for a further
  1064.         explanation of PRINT.COM.
  1065.  
  1066.         RETURNS:    0   PRINT.COM was NOT found
  1067.                     1   PRINT.COM is currently in memory
  1068.  
  1069.         EX:     ULT /PRINT
  1070.  
  1071.  
  1072.  
  1073. /PRNL      SEND A LINE FEED TO PRINTER
  1074.  
  1075.         Sends a line feed and carriage return to printer (PORT 1)
  1076.  
  1077.         EX:     ULT /PRNL
  1078.  
  1079.  
  1080.  
  1081. /PRNF      SEND A FORM FEED TO PRINTER
  1082.  
  1083.         Sends a form feed to printer (PORT 1).  This is GREAT if you
  1084.         have a laser printer.  I have a HP LaserJet II, and everytime
  1085.         I hit the [PrintScreen] key, nothing happens because the printer
  1086.         does not receive a FORM FEED.  So then I must start up Word Perfect,
  1087.         and print a blank page just to get my [Printed screen]!
  1088.  
  1089.         EX:     ULT /PRNF
  1090.  
  1091.  
  1092.  
  1093. /PUTS      PUT A STRING
  1094.  
  1095.         Places a string on the screen using the following format:
  1096.  
  1097.           ULT /PUTS X Y color "STRING"
  1098.  
  1099.         This puts the word string at an X and Y coordinate, using
  1100.         a specific color.
  1101.  
  1102.         EX:     ULT /PUTS 10 10 10 "This is a test string, dude!"
  1103.  
  1104.         places the string "This is a test string, dude!" at 10,10 and uses
  1105.         bright green on black.
  1106.         Experiment with different colors, and add 128 to any number to
  1107.         obtain a blinking effect.
  1108.  
  1109.  
  1110.  
  1111. /RDONLY    CHANGE FILE TO READ ONLY ATTRIBUTE
  1112.  
  1113.         Turns on the read only attribute of a file.  If you are unsure of
  1114.         attribute meanings, consult your DOS manual.
  1115.  
  1116.         EX:     ULT /RDONLY file
  1117.                 ULT /RDONLY list.com
  1118.  
  1119.  
  1120.  
  1121. /REN       RENAME A DIRECTORY
  1122.  
  1123.         Renames a directory using a simple "RENAME" call in Turbo C++.
  1124.         Since DOS will not allow you to rename a directory, and you
  1125.         must have a full fledged shell to do it, this solves the
  1126.         problem.  You do not need to load a major shell just to rename
  1127.         a directory.
  1128.  
  1129.         EX:     ULT /REN oldir newdir   (renames oldir to newdir)
  1130.  
  1131.  
  1132.  
  1133. /REST      RESTORE THE SCREEN
  1134.  
  1135.         This restores the screen from a file.  To save a text mode screen,
  1136.         use ULT /SAVE option.
  1137.  
  1138.         EX:     ULT /REST filename
  1139.  
  1140.  
  1141. /S#        MAKE A PARTICULAR SOUND
  1142.  
  1143.         This makes a particular sound, from 0 to 9.
  1144.         Experiment with the different pre-set sounds and find
  1145.         which ones you like the best.
  1146.  
  1147.         1     arcade2
  1148.         2     deadbird
  1149.         3     echos
  1150.         4     fire
  1151.         5     high
  1152.         6     siren
  1153.         7     bomb
  1154.         8     ringing
  1155.         9     pulse
  1156.         0     wars
  1157.  
  1158.         EX:     ULT /S1     (plays arcade2 sound)
  1159.                 ULT /S5     (plays high sound)
  1160.  
  1161.  
  1162.  
  1163. /SAVE      SAVE THE SCREEN
  1164.  
  1165.         Save a text mode screen in a file, which can be restored to the
  1166.         screen using ULT /REST option.
  1167.  
  1168.         EX:     ULT /SAVE filename   (saves the current text mode screen in filename)
  1169.  
  1170.  
  1171.  
  1172. /SCRD      SCROLL SCREEN DOWN
  1173.  
  1174.         This is exactly the same as /SCRU, except it scrolls the screen
  1175.         down.
  1176.  
  1177.         EX:     ULT /SCRD 4   (scrolls the screen down four spaces)
  1178.                 ULT /SCRD 25  (clears the screen very quickly)
  1179.  
  1180.  
  1181.  
  1182. /SCRU      SCROLL SCREEN UP
  1183.  
  1184.         This scrolls the screen up.  It can scroll up one to 30
  1185.         spaces, and can be used to quickly clear the screen, or
  1186.         clear only the bottom portion.
  1187.  
  1188.         EX:     ULT /SCRU 4   (scrolls the screen up four spaces)
  1189.                 ULT /SCRU 25  (clears the screen very quickly)
  1190.  
  1191.  
  1192.  
  1193. /SEARCH    SEARCH FOR TEXT IN A FILE
  1194.  
  1195.         This searches for particular text in a file.  It can be used for
  1196.         text or binary files, and uses the BRUTE ALGORITHM to find your
  1197.         text.
  1198.  
  1199.         NOTE:   Text search is case sensitive.
  1200.  
  1201.         So to find the word "Yesterday" in a file called NEW.DAT, you
  1202.         would use:
  1203.  
  1204.         ULT /SEARCH new.dat Yesterday
  1205.  
  1206.  
  1207.         EX:     ULT /SEARCH new.dat February
  1208.                 ULT /SEARCH docs.001 PrintScreen
  1209.  
  1210.  
  1211. /SETD      SET DATE IN A FILE
  1212.  
  1213.         Set the date in a file.  It accepts the arguments: MONTH DAY YEAR,
  1214.         and makes those changes in the file.
  1215.  
  1216.         EX:     ULT /SETD filename 12 21 92   (sets filename's date to December 21, 1992)
  1217.  
  1218.  
  1219.  
  1220. /SHAKE     SHAKE THE SCREEN
  1221.  
  1222.         Shake the screen.  This is fun.
  1223.  
  1224.         EX:     ULT /SHAKE
  1225.  
  1226.  
  1227.  
  1228. /SHARE     IS SHARE ENABLED?
  1229.  
  1230.         Determines if SHARE is enabled.  For more information about
  1231.         SHARE, consult your DOS manual.
  1232.  
  1233.         RETURNS:        1       SHARE is enabled
  1234.                         0       not enabled
  1235.  
  1236.         EX:     ULT /SHARE
  1237.  
  1238.  
  1239. /SOUND     MAKE A SOUND
  1240.  
  1241.         Makes a sound using different tone frequencies specified on
  1242.         the command line.
  1243.  
  1244.         You specify the delay in milliseconds between sounds, then
  1245.         the frequencies you want played.
  1246.  
  1247.         EX:     ULT /SOUND 100 20 30 40 50 60 100 400 500
  1248.                             ^   ^─ ^ ─^ ─^ ─^ ─^ ──^ ──^
  1249.                             │      different tones played
  1250.                             │
  1251.                             │
  1252.                             │
  1253.                           delay between tones
  1254.  
  1255.         plays 20,30,40, etc frequency tones, and pauses 100 milliseconds
  1256.         between each note.
  1257.  
  1258.  
  1259. /SSCUR     SET CURSOR START/STOP LINES
  1260.  
  1261.         The cursor is composed of start and stop lines, and can be made into
  1262.         several different shapes, depending on which figures you specify
  1263.         as the start/stop lines.
  1264.         Play with the numbers and create many different looking cursors!
  1265.  
  1266.         EX:     ULT /SSCUR 1 1          (creates an upside down, thin cursor)
  1267.                 ULT /SSCUR 12 12        (creates a thin, normal cursor)
  1268.                 ULT /SSCUR 10 1         (creates a block cursor)
  1269.                 ULT /SSCUR 3 9          (creates a 1/2 blinking, block cursor)
  1270.  
  1271.  
  1272.  
  1273. /STOP      PAUSE
  1274.  
  1275.         This pauses operation of the computer for a specified time in
  1276.         milliseconds.  Instead of using DOS' PAUSE command, which requires
  1277.         you to press a key, this simply pauses everything for a specified
  1278.         time, without requiring the user to press a key.
  1279.         This is great for batch files, in case you want to display
  1280.         a box or menu of some kind, and pause a few seconds.
  1281.  
  1282.         EX:     ULT /STOP 112   (pauses 112 milliseconds)
  1283.                 ULT /STOP 10    (pauses 10 milliseconds)
  1284.  
  1285.  
  1286.  
  1287. /SYS       TURN ON SYSTEM ATTRIBUTE
  1288.  
  1289.         Turns on system attribute of a file.  If you are unsure of
  1290.         attribute meanings, consult your DOS manual.
  1291.  
  1292. EX:     ULT /SYS file
  1293.         ULT /SYS list.com
  1294.  
  1295.  
  1296. /TD        TIME AND DATE
  1297.  
  1298.         Shows time and date information, without prompting you
  1299.         for a new one.  Whenever you type: TIME on the command line,
  1300.         it prompts you for a new time.  This is annoying when you
  1301.         just want to check what time it is.
  1302.         This util solves this by simply providing you with
  1303.         the information.
  1304.  
  1305.         EX:     ULT /TD
  1306.  
  1307.  
  1308.  
  1309. /TIME      ACCURATE INTERVAL TIMER
  1310.  
  1311.         This program shows time elapsed from one period to another.
  1312.         Time is computed accurately, even if the computer is turned off.
  1313.  
  1314.         ULT /TIME /S TIME.DAT   saves current time in a file named TIME.DAT,
  1315.                                 then exits.  You are shown the starting time/date.
  1316.  
  1317.         ULT /TIME /R TIME.DAT   retrieves information in file TIME.DAT, and
  1318.                                 calculates elapsed time.
  1319.  
  1320.     To remember options-->
  1321.  
  1322.         /S      stands for "START"
  1323.         /R      stands for "RESTORE"
  1324.  
  1325.     To time how long it takes your wife to quit complaining:
  1326.  
  1327.         ULT /TIME /S WIFE.DAT      when she opens his mouth and begins
  1328.         ULT /TIME /R WIFE.DAT      after she says no more
  1329.  
  1330.     To see how long you are logged onto Compuserve:
  1331.  
  1332.         ULT /TIME /S CIS.DAT      before logging on.
  1333.         ULT /TIME /R CIS.DAT      after you log off and return to DOS.
  1334.  
  1335.         NOTE: You can time unlimited intervals, and keep them all in separate
  1336.               files.  The only limit to your timings is how many files your
  1337.               disk can handle.  The files created by this program are VERY SMALL
  1338.               (around 24 bytes).
  1339.  
  1340.         There is a limit of 9,999 years of timing.  Not that it really matters,
  1341.         but if you live forever or something like that, you must re-run the program
  1342.         after 9,999 years.
  1343.  
  1344.         If you do live that long, please write me a letter, and if I'm alive,
  1345.         I'll be glad to make a new program that supports Centuries...
  1346.  
  1347.            SAMPLE USAGES:
  1348.             -------------------------------------------
  1349.         1)  Place a "timer" file onto each backup diskette you own.  That way, you can
  1350.             run the program, and find out how old your diskette is.
  1351.             Possibly, a REALLY old diskette would be a good object to replace with
  1352.             a newer one !!
  1353.  
  1354.         2) Time your log-ons to BBS'.
  1355.  
  1356.         3) For people who run BBS' themselves, you may use this to time how
  1357.            long your computer has been on.
  1358.  
  1359.         4) For burning in a new computer, use this instead of watching the
  1360.            clock, checking ocassionally for that 48 hour mark.
  1361.  
  1362.         5) Put it in your autoexec.bat file, and determine how long your
  1363.            computer has been turned off.  (for you SERIOUS compu-maniacs)
  1364.  
  1365.         6) Time how long it takes for more bills to roll in. (because it seems
  1366.            like I get another bill every day !)
  1367.  
  1368.  
  1369.  
  1370. /TODAY     SHOW FILES DATED TODAY
  1371.  
  1372.         Shows files in current directory that have been changed today.
  1373.         This is useful for backup purposes, or to get a summary of what
  1374.         an "INSTALL" program has done.  Output can be redirected to a file
  1375.  
  1376.         For redirection, use:  ULT /TODAY > myfile
  1377.  
  1378.         EX:     ULT /TODAY
  1379.  
  1380.  
  1381.  
  1382. /UNCOMP    UNCOMPRESS
  1383.  
  1384.         Uncompress a file using LZW that has been compressed using
  1385.         the /COMP switch.
  1386.  
  1387.         EX:     ULT /UNCOMP myfile
  1388.                 ULT /UNCOMP secret.txt
  1389.  
  1390.  
  1391.  
  1392. /VEREMS    EMS VERSION?
  1393.  
  1394.         Sets the DOS errorlevel to the version of the current EMS driver.
  1395.  
  1396.         RETURNS:        EMS driver version
  1397.  
  1398.         EX:     ULT /VEREMS
  1399.  
  1400.  
  1401.  
  1402. /VERIFY    IS VERIFY ENABLED?
  1403.  
  1404.         Checks to see if DOS's VERIFY is enabled.  For more information
  1405.         about VERIFY, check your DOS manual.  (basically, verify makes
  1406.         sure data is written correctly to the disk)
  1407.         You can alter VERIFY by using: VERIFY ON or VERIFY OFF
  1408.  
  1409.         RETURNS:        1       VERIFY is enabled
  1410.                         0       not enabled
  1411.  
  1412.         EX:     ULT /VERIFY
  1413.  
  1414.  
  1415.  
  1416. /VIEW      VIEW A TEXT FILE
  1417.  
  1418.         Did you ever want a text-file reader for your batch files?
  1419.         Here it is.  Simply type: ULT /VIEW file
  1420.         
  1421.         The usual keys are in effect: PgUp   PgDn   Arrows   Esc-exits
  1422.  
  1423.         EX:     ULT /VIEW file
  1424.                 ULT /VIEW ult.doc
  1425.  
  1426.  
  1427.  
  1428. /VOL       CHANGE VOLUME LABEL
  1429.  
  1430.         This changes the volume label of a floppy disk.
  1431.         NOTE: Does not work on a hard disk, only a FLOPPY.
  1432.               Simply change to a floppy disk, then type:
  1433.  
  1434.         EX:     ULT /VOL Momma      (changes label to "Momma")
  1435.                 ULT /VOL My_Disk    (changes label to "My_Disk")
  1436.  
  1437.  
  1438.  
  1439. /WARM      WARM BOOT THE COMPUTER
  1440.  
  1441.         This reboots the computer, but does not check the system memory
  1442.         upon entrance.  You can get the same effect by pressing
  1443.         CTRL-ALT-DEL keys simultaneously.
  1444.  
  1445.         EX:     ULT /WARM
  1446.  
  1447.  
  1448.  
  1449. /WEEKDAY   WHAT IS THE DAY OF THE WEEK?
  1450.  
  1451.         This sets the DOS errorlevel to the value of the day of the
  1452.         week (Sunday, Monday, etc)
  1453.  
  1454.         RETURNS:        0       Sunday
  1455.                         1       Monday
  1456.                         2       Tuesday
  1457.                         3       Wednesday
  1458.                         4       Thursday
  1459.                         5       Friday
  1460.                         6       Saturday
  1461.  
  1462.         EX:     ULT /WEEKDAY
  1463.  
  1464.  
  1465.  
  1466. /WND       CALCULATE WIND CHILL
  1467.  
  1468.         Calculates wind chill from the temperature and wind speed.  The
  1469.         actual formula is:
  1470.  
  1471.         (((10.45 + (6.686112 * sqrt((double) wind speed))
  1472.          - (.447041 * wind_speed)) / 22.034 * (temperature - 91.4)) + 91.4)
  1473.  
  1474.         but since it is so complex, I made it as easy as:
  1475.  
  1476.         ULT /WND wind-speed temperature
  1477.  
  1478.         EX:     ULT /WND 20 31
  1479.                 (The wind is blowing at 20 mph and the temp is 31 degrees)
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494. ================== HOW TO MAKE CUTE LITTLE BOXES! ============================
  1495.  
  1496.         Making cute boxes and writing text to them is tricky.  The X
  1497.         coordinate is on the horizontal axis, and the Y coordinate
  1498.         is vertical.
  1499.  
  1500.         The screen looks like this:
  1501.  
  1502.  0,0┌──────────────────────────────────────────────┐
  1503.     │    <----------- X axis ------------->       │
  1504.     │                                            | │
  1505.     │                                            | │
  1506.     │                                            | │
  1507.     │                                        Y axis│
  1508.     │                                            | │
  1509.     │                                            | │
  1510.     │                                            | │
  1511.     │                                             │
  1512.     └──────────────────────────────────────────────┘79,24
  1513.  
  1514.         The upper left corner is coordinate 0,0 and the lower right
  1515.         corner is 79,24.
  1516.  
  1517.    So to make a box filling the entire screen, you would say:
  1518.  
  1519.         ULT /BOX 0 0 79 24 12 24 " My Window "
  1520.  
  1521.    The first two numbers is the coordinate of the upper left corner.
  1522.    The second two numbers is the lower right coordinate of our box.
  1523.    The fifth number is the border attribute (the color of the box
  1524.        outline and the title).
  1525.    And the last number is the attribute of the inside box.
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.                HOW DO I MAKE COLORS ?
  1533.  
  1534.  
  1535.         To determine the colors you use for number five and six, do
  1536.         the following:
  1537.  
  1538.         Look at this chart (or print it!):
  1539.  
  1540.    --------------------+--------------------
  1541.         Color Value         Color
  1542.    --------------------+--------------------
  1543.           0                 Black
  1544.           1                 Blue
  1545.           2                 Green
  1546.           3                 Cyan
  1547.           4                 Red
  1548.           5                 Magenta
  1549.           6                 Brown
  1550.           7                 Light Gray
  1551.           8                 Dark Gray
  1552.           9                 Bright Blue
  1553.          10                 Bright Green
  1554.          11                 Bright Cyan
  1555.          12                 Bright Red
  1556.          13                 Bright Magenta
  1557.          14                 Yellow
  1558.          15                 Bright White
  1559.    --------------------+--------------------
  1560.  
  1561.         These are the foreground colors you can use.  The text you
  1562.         print inside the box are the foreground.
  1563.  
  1564.  
  1565.    --------------------+--------------------
  1566.         Color Value         Background Colors
  1567.    --------------------+--------------------
  1568.           0                 Black
  1569.           16                Blue
  1570.           32                Green
  1571.           48                Cyan
  1572.           64                Red
  1573.           80                Magenta
  1574.           96                Brown
  1575.           112               Light Gray
  1576.  
  1577.  
  1578.         Now to get a White foreground with a Blue background, you
  1579.         would add the two digits.
  1580.  
  1581.         WHITE FOREGROUND  =  15
  1582.         BLUE BACKGROUND   =  16
  1583.                    -------------------
  1584.                              31  Total
  1585.  
  1586.         To get a Red foreground on a Light Gray background, add
  1587.         those two digits.
  1588.  
  1589.         RED FOREGROUND         =    4
  1590.         LIGHT GRAY BACKGROUND  =  112
  1591.                    ---------------------
  1592.                                   116  Total
  1593.  
  1594.         Do you follow?  Try some different colors out and see how they
  1595.         look on your system.  And if you really want to get advanced...
  1596.         Suppose I have a box with 49 as the border color and 22 as
  1597.         the inside box color.
  1598.         Can you translate that?  What colors will those numbers produce?
  1599.  
  1600.         Look at the background colors first, and find the largest number
  1601.         that is smaller or equal to 49.  Looking at the chart, you'll find
  1602.         CYAN.  Now that leaves 1, which has to be BLUE as the foreground
  1603.         color.
  1604.         What about 22?  Look at the background chart first.  16 is the
  1605.         biggest number that's smaller than 22.  That is BLUE.  Once you
  1606.         subtract 16 from the 22, you get 6.  Now look at the foreground
  1607.         colors, and notice that BROWN is a 6.  So 22 would be BROWN ON BLUE.
  1608.  
  1609.         Experiment and tell me how you like it.
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.             ╤═══════════════════════════════════════════════════════╤
  1617.             │     This is the ShareWare version of ULTRA ToolBox    │
  1618.             │                                                       │
  1619.             │           To register yours send $15.00 to:           │
  1620.             │                                                       │
  1621.             │                     David Smith                       │
  1622.             │                    1104 Mason Dr                      │
  1623.             │                    Hurst TX 76053                     │
  1624.             │                                                       │
  1625.             │         or $20.00 gets you all of my utils and        │
  1626.             │        lifetime registration plus free upgrades       │
  1627.             ╧═══════════════════════════════════════════════════════╧
  1628.  
  1629.         Register the toolbox once, and you never have to register
  1630.         again.  All future upgrades are free!
  1631.  
  1632.  
  1633.                       I have reached my goal!
  1634.  
  1635.         My goal was to have 250 total options for the toolbox.  You
  1636.         will never have to look for batch utilities again!
  1637.  
  1638.         See the enclosed ULTENV.EXE for more utilities ...
  1639.  
  1640.  
  1641.  
  1642.                    Please send a cheque or money
  1643.                       order of US $15.00 to
  1644.  
  1645.                           David Smith
  1646.                        1104 Mason Drive
  1647.                         Hurst TX 76053
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.    ███████╗ ██╗   ██╗ ██████╗  ██████╗   ██████╗  ██████╗  ████████╗ ██████╗
  1671.    ██╔════╝ ██║   ██║ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██╔══██╗ ╚══██╔══╝ ╚════██╗
  1672. ╓──███████╗ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ ██████╔╝    ██║      ▄███╔╨─╖
  1673. ║  ╚════██║ ██║   ██║ ██╔═══╝  ██╔═══╝  ██║   ██║ ██╔══██╗    ██║      ▀▀══╝  ║
  1674. ║  ███████║ ╚██████╔╝ ██║      ██║      ╚██████╔╝ ██║  ██║    ██║      ██╗    ║
  1675. ║  ╚══════╝  ╚═════╝  ╚═╝      ╚═╝       ╚═════╝  ╚═╝  ╚═╝    ╚═╝      ╚═╝    ║
  1676. ║                                                                             ║
  1677. ║                                                                             ║
  1678. ║      Support for this program is available in the following ways:           ║
  1679. ║                                                                             ║
  1680. ║                                                                             ║
  1681. ║          ╓──┐ ╓──┐ ╓─╥─┐ ╥──┐ ╥  ┬  ╓─┐ ╥──┐ ╥──┐ ╥  ┬ ╥──┐                 ║
  1682. ║          ║    ║  │ ║ ║ │ ╟──┘ ║  │  ╙─┐ ╟─   ╟─┬┘ ╙╖┌┘ ╟─                   ║
  1683. ║          ╙──┘ ╙──┘ ╨ ╨ ┴ ╨    ╙──┘ ╙──┘ ╨──┘ ╨ ┴   ╙┘  ╨──┘                 ║
  1684. ║          User ID:  71441,2723                                               ║
  1685. ║          I usually log on every other day and check my mail.                ║
  1686. ║                                                                             ║
  1687. ║                                                                             ║
  1688. ║                       ▄▄▄▄▄▄  ▄▄▄▄▄▄  ▄▄▄▄▄▄▄                               ║
  1689. ║                       █ ▄▄ █▄ █ ▄▄ █▄ █ ▄▄▄▄█                               ║
  1690. ║                       █ ▄▄▄ █ █ ▄▄▄ █ █▄▄▄▄ █                               ║
  1691. ║                       █▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█                               ║
  1692. ║          Drop me a line on the Hogard Systems Bulletin Board                ║
  1693. ║                     David Smith   (214) 641-6292                            ║
  1694. ║                                                                             ║
  1695. ║                                                                             ║
  1696. ║                 ▄██▄   ▄██▄  ▄███████▄   ▄█▄  ▄██▄                          ║
  1697. ║                 █████▄█████ ████▀▀▀████ █████ ████                          ║
  1698. ║                 ███████████ ████▄▄▄████ █████ ████                          ║
  1699. ║                 ████   ████ ███████████ █████ ████                          ║
  1700. ║                 ████   ████ ████   ████ █████ ████▄▄▄▄▄▄▄                   ║
  1701. ║                 ▀██▀   ▀██▀ ▀██▀   ▀██▀  ▀█▀   ▀████████▀                   ║
  1702. ║                               Write to:                                     ║
  1703. ║                                                                             ║
  1704. ║                              David Smith                                    ║
  1705. ║                            1104 Mason Dr.                                   ║
  1706. ║                            Hurst TX 76053                                   ║
  1707. ║                                                                             ║
  1708. ╙─────────────────────────────────────────────────────────────────────────────╜
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.